package com.topisv.tms.repository.stock.check;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.stock.check.CheckCountTask;

public abstract interface CheckCountTaskDao extends PagingAndSortingRepository<CheckCountTask, Long>, JpaSpecificationExecutor<CheckCountTask>
{

	@Query("select t from CheckCountTask t where t.taskCode=?")
	CheckCountTask loadByTaskCode(String taskCode);

}